package org.healthy.service;

import org.healthy.model.user.Shiti;

import java.util.List;

/**
 * Created by qingshengzheng on 17/10/11.
 */
public interface IShitiService {

    /**
     * 根据id获取试题
     * @return
     */
    public Shiti getShitiByid(String id);

    /**
     * 搜索试题-关键字
     * @param keywords
     * @return
     */
    public List<Shiti> searchShiti(String keywords);

    /**
     * 搜索试题
     * @param shiti
     * @return
     */
    public List<Shiti> searchShiti(Shiti shiti);


    /**
     * 获取试卷下的试题
     * @param id
     * @return
     */
    public List<Shiti> getShitiOfPaper(String id);


    /**
     * 获取收藏的试题
     * @param uid
     * @return
     */
    public List<Shiti> getCollectShiti(Long uid);

}
